package com.link_with_health.mapper;

import com.link_with_health.model.AdminLogEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface AdminLogMapper {
    AdminLogEntity queryAdminLogById(Long logId);
    List<AdminLogEntity> queryAdminLogByType(String type);
    List<AdminLogEntity> queryAdminLogByOperator(Integer operator);
    List<AdminLogEntity> queryAllAdminLog();
    int insertAdminLog(AdminLogEntity log);
    int updateAdminLog(AdminLogEntity log);
    int deleteAdminLog(Long id);
}
